package com.ctsi.ssdc.repository;

import com.ctsi.ssdc.domain.LitemallRegion;
import com.ctsi.ssdc.domain.LitemallRegionExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Param;

/**
 * @author ctsi-biyi-generator
*/
@Mapper
public interface LitemallRegionRepository extends BaseRepository<LitemallRegion, Integer, LitemallRegionExample> {
    @Override
    long countByExample(LitemallRegionExample example);

    @Override
    int deleteByExample(LitemallRegionExample example);

    @Override
    int deleteByPrimaryKey(Integer id);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insert(LitemallRegion record);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insertSelective(LitemallRegion record);

    @Override
    List<LitemallRegion> selectByExample(LitemallRegionExample example);

    @Override
    LitemallRegion selectByPrimaryKey(Integer id);

    @Override
    int updateByExampleSelective(@Param("record") LitemallRegion record, @Param("example") LitemallRegionExample example);

    @Override
    int updateByExample(@Param("record") LitemallRegion record, @Param("example") LitemallRegionExample example);

    @Override
    int updateByPrimaryKeySelective(LitemallRegion record);

    @Override
    int updateByPrimaryKey(LitemallRegion record);
}